#ifndef _RENDERING_PROCESSER_HPP
#define _RENDERING_PROCESSER_HPP

#include <vector>

namespace phx
{

class RenderingProcesser
{
public:
	static RenderingProcesser& getInstance()
	{
		static RenderingProcesser instance;
		return instance;
	}
	friend class PhoenixInitializer;
	friend class RenderWindow;
private:
	RenderingProcesser();
	void addWindow(RenderWindow *window);
	void process();
	void destroy();
private:
	std::vector<RenderWindow*> mWindows;
};

}

#endif